package com.mis.pos.common.config;

import org.hibernate.dialect.MySQL8Dialect;

/**
 * @description:
 * @author: yuxiang
 * @create: 2019-12-12 17:59
 **/
public class MySQLConfig extends MySQL8Dialect {
    @Override
    public String getTableTypeString() {
        //Hibernate 默认创建 InnoDB 引擎并默认使用 utf-8 编码
        return "ENGINE=InnoDB DEFAULT CHARSET=utf8";
    }
}
